package cn.itsource.domain;

public class Student {
    private Long sid;
    private String name;

    public Student() {
    }

    public Student(Long sid, String name) {

        this.sid = sid;
        this.name = name;
    }

    public Long getId() {

        return sid;
    }

    public void setId(Long id) {
        this.sid = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + sid +
                ", name='" + name + '\'' +
                '}';
    }
}
